package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.SmsHomeRecommendProduct;

import java.util.List;

public interface SmsHomeRecommendProductApi {
    void save(SmsHomeRecommendProduct smsHomeRecommendProduct);

    void deleteRecommendProduct(List<Long> ids);

    Page<SmsHomeRecommendProduct> getRecommendProductByPage(Long pageNum, Long pageSize, String productName, Integer recommendStatus);

    void updateRecommendProduct(Long id, Integer recommendStatus);

    void updateSortRecommendProduct(Long id, Integer sort);
}
